package com.googlecode.protoserv;

import com.google.protobuf.ExtensionRegistry;
import com.googlecode.protoserv.Protocol.RequestProto;
import com.googlecode.protoserv.Protocol.ResponseProto;

public abstract class ServiceSkel {

  public abstract void registerExtensions(ExtensionRegistry registry);

  public abstract int[] getMethodIds();

  public abstract boolean run(int methodId, RpcHandler rpc,
      RequestProto request, ResponseProto.Builder response);

}
